/*
 * Giffel, Android application
 *
 * Copyright (C) 2011  Mid Sweden University
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package se.appening;

import android.location.Location;

public class MockCringleGetter implements CringleGetter {

    private Entry[] entries;
    private SubjectEvent dummyEvent = new SubjectEvent("CringlesUpdated");

    public MockCringleGetter() {
        entries = new Entry[] {
                new Entry("hdshasdfs", "fasddsa", "10", "", "sdafaasdgsdgsg"),
                new Entry("adfgsdfs", "fdsa", "11",
                        "http://catview.historiska.se/catview/media/thumbnail/211678",
                        "sdaahfadfgasdgsg"),
                new Entry("sadfasdfs", "fagsdsa", "12", "", "sdasdgfasdgsg"),
                new Entry("asdfaasdfs", "fagdsa", "13", "", "sdafaghasdgsg"),
                new Entry("asdasdfs", "fdasdsa", "150", "", "ssdgdgsg") };
    }

    public void updatePosition(Location position) {
    }

    public Entry[] getEntries() {
        return entries;
    }

    public void setNrCringles(int nrCringles) {
    }

    public int getNrCringles() {
        return 0;
    }

    @Override
    public SubjectEvent cringlesUpdatedEvent() {
        return dummyEvent;
    }

}